package com.lh.service.impl;

import com.lh.entity.EduFollow;
import com.lh.dao.EduFollowMapper;
import com.lh.service.IEduFollowService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author lh
 * @since 2021-06-19
 */
@Service
public class EduFollowServiceImpl extends ServiceImpl<EduFollowMapper, EduFollow> implements IEduFollowService {

    /**
     * 关注列表
     *
     * @param userid
     * @return
     */
    @Override
    public List<EduFollow> followList(String userid) {
        List<EduFollow> list = baseMapper.followList(userid);
        return list;
    }
}
